﻿using System;
using System.Collections.Generic;
using System.Text;
using Gtk;

namespace GtkSharpTutorial
{
    class LeftJustifiedLabel
    {
        public Widget Widget { get; }

        public LeftJustifiedLabel()
        {
            var frame = new Frame("Left Justified Label");
            var label = new Label("This is a Left-Justified\n" + "Multi-line label.\n" + "Third      line");
            label.SingleLineMode = false;
            label.Justify = Justification.Left;

            frame.Add(label);

            Widget = frame;
        }
    }
}
